package shared.highcharts.config

import dataclass.data

@data class XAxis(
                   categories: Option[Seq[String]],
                   labels: Option[Labels],
                   title: Option[Title],
                 )

object XAxis {
  def apply(
             categories: Seq[String] = null,
             labels: Labels = null,
             title: Title = null,
           ) = new XAxis(
    Option(categories),
    Option(labels),
    Option(title),

  )
}
